#pragma once
#ifndef SMPPDATASMRESP_HPP
#define SMPPDATASMRESP_HPP

#include "SMPPHeader.hpp"
#include "SMPPMessageSubmissionResponseTLVs.hpp"

namespace smpp{
namespace pdu{

class SMPP_DLLPRFX DataSMResp : public Header,
public MessageSubmissionResponseTLVs{
	CoctetString _MessageId;
public:
	DataSMResp(const Header &nHeader = Header(),
		const CoctetString &nMessageId = "",
		const MessageSubmissionResponseTLVs &
		nMessageSubmissionResponseTLVs = MessageSubmissionResponseTLVs());

	DataSMResp(const DataSMResp &);

	void setMessageId(const CoctetString &);

	const CoctetString &getMessageId() const;

	void calcCommandLength();	
};

}
}

#endif
